//
//  MyVisitor.m
//  LearnObjectiveC
//
//  Created by client on 2017/9/8.
//  Copyright © 2017年 吴可高. All rights reserved.
//

#import "MyVisitor.h"
#import "MySubject.h"

@implementation MyVisitor

-(void)visitor:(Subject*)sub;
{
    NSString * visit = [NSString stringWithFormat:@"visit the subject:%@",[sub getSubject]];
    NSLog(@"%@",visit);
}

@end
